import { request } from "../../utils/request";


//根据类型分页获取图片
export function ApigetImagesByType (data={})
{
	return request({
		method: "POST",
		url:"image/getImgByType",
		data
	})
}

//获取当前用户生成的图片
export function ApigetImagesByuser()
{
	return request({
		method: "GET",
		url:"image/getImg"
	})
}

//图片生成
export function ApiGetImage(data={})
{
	return request({
		method: "POST",
		url:"image/img",
		data
	})
}